module PlansHelper
  def agregar_ticket(texto)
    link_to_function texto do |page|
      page.insert_html :bottom, :tickets, :partial=>'ticket', :object=> Ticket.new
    end 
  end
end
